
<!-- 首页卡片 -->
<template>
  <div>
    <div class="search-main">
        <b :style="{ width: itemWidth + 'px',fontSize:fontSize + 'px' }">{{ itemName }}</b>
        <slot></slot>
    </div>
  </div>
</template>

<script type="text/javascript">
export default {
  name: "search-page",
  props: {
    itemName: {
      type: String,
      default: "",
    },
    itemWidth: {
      type: String,
      default: "64",
    },
    fontSize: {
      type: String,
      default: "16",
    },
  },
  data() {
    return {

    };
  },
  methods: {
    
  },
};
</script>

<style lang="less" scoped>
.search-main {
  display: flex;
  align-items: center;
  padding-top: 20px;
  b {
    font-size: 16px;
    flex: none;
    display: block;
    margin-right: 10px;
    font-weight: normal;
  }
}
</style>
